<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title></title>
    <script src="js/mui.min.js"></script>
    <script type="text/javascript" src="js/jquery-3.1.1.min.js" ></script>
    <link href="css/mui.min.css" rel="stylesheet"/>
    <link rel="stylesheet" href="css/style.css" />
</head>
<body>
	<header class="mui-bar mui-bar-nav">
	    <a class="mui-icon mui-icon-left-nav mui-pull-left" id="back"></a>
	    
	    <h1 class="mui-title">设置</h1>
	</header>
	<div class="mui-content">
	    <div class="home-list-div public-list-txt">
	        <ul class="mui-table-view">
	            <li class="mui-table-view-cell">
	                <a class="mui-navigate-right">
	                    <span>检查更新</span>
	                    <span class="small-txt mui-pull-right" style="margin-right: 18px;color:#C0C0C0">V0.0.1</span>
	                </a>
	            </li>
	            <li class="mui-table-view-cell">
	                <a class="mui-navigate-right">
	                    <span>意见反馈</span>
	                </a>
	            </li>
	            <li class="mui-table-view-cell">
	                <a class="mui-navigate-right">
	                     <span>关于当下公寓</span>
	                </a>
	            </li>
	        </ul>
	        <button onclick="quit()" class="public-b-btn tc-btn">退出登录</button>
	    </div>
	</div>
	<script>
		mui.init({
			swipeBack:true//启用右滑关闭功能
		});
		
		$("#back").click(function(){
			//获取当前页面
		    var cPage = plus.webview.currentWebview();
		    //获取上一级页面（B页面）
		    var bPage = cPage.opener();
			
		    //关闭当前页面（C页面）、B页面和A页面
		    cPage.close();
		});
		 function quit() {
		 	localStorage.clear();
		 	mui.openWindow({
				url: 'login.html'
			});
		 }
		 
	</script>
</body>
</html>